/* eslint-disable import/named */
import { lazy } from 'react'
import { RouteObject } from 'react-router-dom'

/**
 * 前端静态路由
 */
export const StaticRoutes: RouteObject[] = [
  {
    path: '/',
    Component: lazy(() => import('@/page/home')),
    index: true,
  },
  {
    path: '/system/product',
    Component: lazy(() => import('@/page/system/product')),
  },
  {
    path: '/system/user',
    Component: lazy(() => import('@/page/system/user')),
  },
  {
    path: '/404',
    Component: lazy(() => import('@/page/404')),
  },
]
